//
//  ComeStoreViewCell.m
//  ai2ban
//
//  Created by Heartbeats on 2018/1/10.
//  Copyright © 2018年 mac book pro. All rights reserved.
//

#import "ComeStoreViewCell.h"

@interface ComeStoreViewCell()

@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIImageView *storeImgV;
@property (weak, nonatomic) IBOutlet UILabel *adreeLab;
@property (weak, nonatomic) IBOutlet UILabel *storeNameLab;
@property (weak, nonatomic) IBOutlet UILabel *adreeHowLab;

@end

@implementation ComeStoreViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.bgView.layer.cornerRadius = 8;
    self.bgView.clipsToBounds = true;
}
- (void)setStoreModel:(UserModel *)storeModel {
    _storeModel = storeModel;
    [self.storeImgV sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@", ImageBaseUrl, storeModel.picImg]] placeholderImage:[UIImage imageNamed:@""]];
    self.storeNameLab.text = storeModel.userName;
    self.adreeLab.text = storeModel.address;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
